package cn.iocoder.yudao.module.ent.controller.admin.followrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "企业大数据 - 跟进记录新增/修改 Request VO")
@Data
@Builder
public class FollowRecordSaveReqVO {

    @Schema(description = "PK", requiredMode = Schema.RequiredMode.REQUIRED, example = "16552")
    private Long id;

    @Schema(description = "EntCid", requiredMode = Schema.RequiredMode.REQUIRED, example = "9619")
    @NotEmpty(message = "EntCid不能为空")
    private String entId;

    @Schema(description = "跟进类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "跟进类型不能为空")
    private String type;

    @Schema(description = "号码")
    private String number;

    @Schema(description = "标记内容")
    private String tag;

    @Schema(description = "跟进内容")
    private String remark;

    @Schema(description = "外呼通话记录PK", example = "25968")
    private Long callLogId;

    @Schema(description = "外呼状态", example = "1")
    private Boolean callStatus;

    @Schema(description = "外呼录音地址", example = "https://www.iocoder.cn")
    private String callRecordUrl;

    @Schema(description = "负责人编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "17565")
    private Long userId;

}